package com.joplus.housekeeper.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ccm on 2016/8/17 17:10
 */
public class JoinVipBean implements Serializable {

    private SpListBean spList;
    /**
     * spList : {"memberList":[{"id":9,"memberId":"mem1461725756539VxwO","memberLevel":"JO+Essentialf","createdTime":1461725757000,"memberMoney":4000},{"id":10,"memberId":"mem1461725775824K0xB","memberLevel":"JO+premium","createdTime":1461725776000,"memberMoney":18888},{"id":11,"memberId":"mem1461725816264kf1v","memberLevel":"JO+Black","createdTime":1461725816000,"memberMoney":200000},{"id":13,"memberId":"mem1465898689736dgPt","memberLevel":"普通用户","createdTime":1465898690000,"memberMoney":0}],"categoryList":[{"id":1,"name":"测试分类1","infoUrl":"/test1","url":"0817","categoryId":"cate001","serviceList":[{"id":null,"serId":"0001","serName":"服务名称1","essContent":"ESS10次","essStatus":"1","preContent":"PRE100次","preStatus":"1","blackContent":"黑卡1000次","blackStatus":"1","categoryId":"cate001"},{"id":null,"serId":"0002","serName":"服务名称2","essContent":"BLACK享有","essStatus":"0","preContent":"BLACK享有","preStatus":"0","blackContent":"黑卡1次","blackStatus":"1","categoryId":"cate001"}]},{"id":2,"name":"测试分类2","infoUrl":"/test2","url":"0819","categoryId":"cate002","serviceList":[{"id":null,"serId":"0003","serName":"服务名称3","essContent":"ESS21次","essStatus":"1","preContent":"PRE120次","preStatus":"1","blackContent":"黑卡1200次","blackStatus":"1","categoryId":"cate002"}]}]}
     * code : 200
     * message : 操作成功
     */

    private String code;
    private String message;

    public SpListBean getSpList() {
        return spList;
    }

    public void setSpList(SpListBean spList) {
        this.spList = spList;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class SpListBean implements Serializable {
        /**
         * id : 9
         * memberId : mem1461725756539VxwO
         * memberLevel : JO+Essentialf
         * createdTime : 1461725757000
         * memberMoney : 4000
         */

        private List<MemberListBean> memberList;
        /**
         * id : 1
         * name : 测试分类1
         * infoUrl : /test1
         * url : 0817
         * categoryId : cate001
         * serviceList : [{"id":null,"serId":"0001","serName":"服务名称1","essContent":"ESS10次","essStatus":"1","preContent":"PRE100次","preStatus":"1","blackContent":"黑卡1000次","blackStatus":"1","categoryId":"cate001"},{"id":null,"serId":"0002","serName":"服务名称2","essContent":"BLACK享有","essStatus":"0","preContent":"BLACK享有","preStatus":"0","blackContent":"黑卡1次","blackStatus":"1","categoryId":"cate001"}]
         */

        private List<CategoryListBean> categoryList;

        public List<MemberListBean> getMemberList() {
            return memberList;
        }

        public void setMemberList(List<MemberListBean> memberList) {
            this.memberList = memberList;
        }

        public List<CategoryListBean> getCategoryList() {
            return categoryList;
        }

        public void setCategoryList(List<CategoryListBean> categoryList) {
            this.categoryList = categoryList;
        }

        public static class MemberListBean implements Serializable {
            private int id;
            private String memberId;
            private String memberLevel;
            private long createdTime;
            private int memberMoney;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getMemberId() {
                return memberId;
            }

            public void setMemberId(String memberId) {
                this.memberId = memberId;
            }

            public String getMemberLevel() {
                return memberLevel;
            }

            public void setMemberLevel(String memberLevel) {
                this.memberLevel = memberLevel;
            }

            public long getCreatedTime() {
                return createdTime;
            }

            public void setCreatedTime(long createdTime) {
                this.createdTime = createdTime;
            }

            public int getMemberMoney() {
                return memberMoney;
            }

            public void setMemberMoney(int memberMoney) {
                this.memberMoney = memberMoney;
            }
        }

        public static class CategoryListBean implements Serializable {
            private int id;
            private String name;
            private String infoUrl;
            private String url;
            private String categoryId;
            /**
             * id : null
             * serId : 0001
             * serName : 服务名称1
             * essContent : ESS10次
             * essStatus : 1
             * preContent : PRE100次
             * preStatus : 1
             * blackContent : 黑卡1000次
             * blackStatus : 1
             * categoryId : cate001
             */

            private List<ServiceListBean> serviceList;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getInfoUrl() {
                return infoUrl;
            }

            public void setInfoUrl(String infoUrl) {
                this.infoUrl = infoUrl;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getCategoryId() {
                return categoryId;
            }

            public void setCategoryId(String categoryId) {
                this.categoryId = categoryId;
            }

            public List<ServiceListBean> getServiceList() {
                return serviceList;
            }

            public void setServiceList(List<ServiceListBean> serviceList) {
                this.serviceList = serviceList;
            }

            public static class ServiceListBean implements Serializable {
                private Object id;
                private String serId;
                private String serName;
                private String essContent;
                private String essStatus;
                private String preContent;
                private String preStatus;
                private String blackContent;
                private String blackStatus;
                private String categoryId;

                public Object getId() {
                    return id;
                }

                public void setId(Object id) {
                    this.id = id;
                }

                public String getSerId() {
                    return serId;
                }

                public void setSerId(String serId) {
                    this.serId = serId;
                }

                public String getSerName() {
                    return serName;
                }

                public void setSerName(String serName) {
                    this.serName = serName;
                }

                public String getEssContent() {
                    return essContent;
                }

                public void setEssContent(String essContent) {
                    this.essContent = essContent;
                }

                public String getEssStatus() {
                    return essStatus;
                }

                public void setEssStatus(String essStatus) {
                    this.essStatus = essStatus;
                }

                public String getPreContent() {
                    return preContent;
                }

                public void setPreContent(String preContent) {
                    this.preContent = preContent;
                }

                public String getPreStatus() {
                    return preStatus;
                }

                public void setPreStatus(String preStatus) {
                    this.preStatus = preStatus;
                }

                public String getBlackContent() {
                    return blackContent;
                }

                public void setBlackContent(String blackContent) {
                    this.blackContent = blackContent;
                }

                public String getBlackStatus() {
                    return blackStatus;
                }

                public void setBlackStatus(String blackStatus) {
                    this.blackStatus = blackStatus;
                }

                public String getCategoryId() {
                    return categoryId;
                }

                public void setCategoryId(String categoryId) {
                    this.categoryId = categoryId;
                }
            }
        }
    }
}
